package com.med.meddataintegrator.common.mapper;

import com.med.meddataintegrator.common.pojo.dos.DrugsDo;
import com.med.meddataintegrator.common.pojo.dto.drugs.DrugsQuery;
import com.med.meddataintegrator.common.pojo.vo.drugs.DrugsVO;

import java.util.List;

/**
* @author DELL
* @description 针对表【lb_drugs】的数据库操作Mapper
* @createDate 2025-02-28 15:39:57
* @Entity com.med.meddataintegrator.domain.dos.DrugsDo
*/
public interface DrugsDoMapper {

    int deleteByPrimaryKey(Long id);

    int insert(DrugsDo record);

    int insertSelective(DrugsDo record);

    DrugsDo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(DrugsDo record);

    int updateByPrimaryKey(DrugsDo record);

    List<DrugsVO> select(DrugsQuery drugsQuery);

    void updateDrugs(DrugsDo drugsDo);

    void delDrugs(Integer id);

    void addDrugs(DrugsDo drugsDo);
}
